package com.erdos.hyt.mall.model;//

import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.time.LocalDateTime;
import java.util.Date;//

/**
 * 商品评论
 * @author liurong
 * @date 2017年4月1日
 */
@Alias("mallComment")
public class MallComment {
    @ApiModelProperty(value = "评论ID")
    private Integer commentId;//评论ID

    @ApiModelProperty(value = "商品ID")
    private Integer goodsId;//商品ID

    @ApiModelProperty(value = "用户ID")
    private Integer userId;//用户ID

    @ApiModelProperty(value = "内容")
    private String content;//内容

    @ApiModelProperty(value = "备注")
    private String memo;//备注

    @ApiModelProperty(value = "添加时间")
    private LocalDateTime createTime;//添加时间

    @ApiModelProperty(value = "添加用户")
    private Integer createUser;//添加用户

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;//修改时间

    @ApiModelProperty(value = "修改用户")
    private Integer updateUser;//修改用户

    @ApiModelProperty(value = "删除标记")
    private String delFlag;//删除标记

    public Integer getCommentId() {
        return commentId;//
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;//
    }

    public Integer getGoodsId() {
        return goodsId;//
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;//
    }

    public Integer getUserId() {
        return userId;//
    }

    public void setUserId(Integer userId) {
        this.userId = userId;//
    }

    public String getContent() {
        return content;//
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();//
    }

    public String getMemo() {
        return memo;//
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();//
    }

   

    public Integer getCreateUser() {
        return createUser;//
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;//
    }


    public Integer getUpdateUser() {
        return updateUser;//
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;//
    }

    public String getDelFlag() {
        return delFlag;//
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();//
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    
}